//
//  LtqNavgationTitleFlowLayout.h
//  UI15_homework_网易新闻导航条(自适应文字长度)
//
//  Created by Hanlingyu on 16/8/3.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol LtqWaterFlowLayoutDelegate <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView
                   layout:(UICollectionViewLayout *)collectionViewLayout
  widthForItemAtIndexPath:(NSIndexPath *)indexPath
                   height:(CGFloat)height;


@end
@interface LtqNavgationTitleFlowLayout : UICollectionViewLayout

@property (nonatomic, weak)id<LtqWaterFlowLayoutDelegate> delegate;

@end
